body {
    font-family: 'Vazirmatn', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
header {
    background: linear-gradient(135deg, #1f2c3a, #283a4d);
    color: white;
    padding: 20px 0;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}
nav ul li {
    display: inline;
    margin: 0 15px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}
main {
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    width: 80%;
    margin: 40px auto;
    transition: all 0.3s ease-in-out;
}
main:hover {
    transform: scale(1.02);
}
footer {
    background: #222;
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-shadow: 0px -4px 15px rgba(0, 0, 0, 0.3);
}
.dashboard-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}
.dashboard-actions button {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    border: none;
}
.btn-add {
    background-color: #007bff;
    color: white;
}
.btn-view {
    background-color: #28a745;
    color: white;
}
.btn-settings {
    background-color: #dc3545;
    color: white;
}
.btn-stop-alarm {
    background-color: #dc3545;
    color: white;
}
.dashboard-actions button:hover {
    opacity: 0.9;
}

.container {
    max-width: 500px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    text-align: center;
}
.container:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.form-control {
    margin-bottom: 15px;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #ccc;
}
.btn {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s;
}
h2 {
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}
.info-box, .medicine-list {
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.medicine-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background: white;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}
.medicine-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}
.medicine-item button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}
.medicine-item button:hover {
    background: #c82333;
}
.timer {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    color: #d9534f;
}